<div data-role="content" data-scroll="y" data-height="80%" >
	<div data-iscroll="scroller">
		<ul data-role="listview" data-inset="true" data-filter="true" data-theme="a">
			<?php $counter=0;?>
			<?php if(isset($rows)) :?>
			
			<?php foreach($rows as $feed): $counter++;?>

			<li data-icon="false"><a
				href="<?=site_url('feed_controller/to_apply');?>?helloID=<?=$feed->helloid?>">
<!--
<?php $name=$this->user_model->ChangeQueryResultToArray($this->db->get_where('user',array('userid' => $feed->userid),1)); ?>
<?php $area=$this->area_model->ChangeQueryResultToArray($this->db->get_where('area',array('areaid' => $feed->areaid),1)); ?>
-->
					<h4>
						<?=$feed->fullname?>
					</h4>
					<p>
						<?=$feed->title;?>
					</p>
					<p>
						<b>at <?=$feed->place;?>, <?=$feed->areaname;?>
						</b> on <i><?=$feed->date." ".$feed->time;?>
						</i>
					</p> <?php if ($feed->isconfirmed):?>
					<p>
						<b>Guest Confirmed</b>
					</p> <?php endif;?>
					<?php $this->load->helper('date'); ?>
					
					
			</a></li>

			<?php endforeach;?>
			<?php endif;?>
			<?php if($counter<=5):?>
			<?php for($counter;$counter<=5;$counter++):?>
			<li data-icon="false"><a href="#">
					<h4>
						There is no hello for now
					</h4>
					<p>
						Try see what your friends are doing.
					</p>
					<p>
						
			</a></li>
			<?php endfor;?>
			<?php endif; ?>

		</ul>
	</div>
</div>

